SequencingNodeReader Class

Parses SCORM <imsss:sequencing> nodes.

Namespace: Microsoft.LearningComponents.Manifest

Assembly: Microsoft.LearningComponents.dll

Syntax
C#

public class SequencingNodeReader : IXPathNavigable

Properties
Name Description
Ð AttemptAbsoluteDurationLimit

Returns the value of the <imsss:limitConditions>/attemptAbsoluteDurationLimit attribute.

Ð AttemptLimit

Returns the value of the <imsss:limitConditions>/attemptLimit attribute.

Ð Choice

Returns the value of the <imsss:controlMode>/choice attribute.

Ð ChoiceExit

Returns the value of the <imsss:controlMode>/choiceExit attribute.

Ð CompletionSetByContent

Returns the value of the <imsss:deliveryControls>/completionSetByContent attribute.

Ð ConstrainChoice

Returns the value of the <adlseq:constrainedChoiceConsiderations>/constrainChoice attribute.

Ð ExitConditionRules

Returns the ReadOnlyCollection<SequencingRuleNodeReader> containing the <imsss:exitConditionRules> nodes, of type SequencingRuleNodeReader.

Ð Flow

Returns the value of the <imsss:controlMode>/flow attribute.

Ð ForwardOnly

Returns the value of the <imsss:controlMode>/forwardOnly attribute.

Ð MeasureSatisfactionIfActive

Returns the value of the <adlseq:rollupConsiderations>/measureSatisfactionIfActive attribute.

Ð ObjectiveMeasureWeight

Returns the value of the <imsss:rollupRules>/objectiveMeasureWeight attribute.

Ð Objectives

Returns the IDictionary<string, SequencingObjectiveNodeReader> containing the <imsss:primaryObjective> and <imsss:objective> nodes under the <imsss:objectives> node, indexed by the string parameter, which is the objectiveID attribute of the objective node. The value of the dictionary is SequencingObjectiveNodeReader.

Ð ObjectiveSetByContent

Returns the value of the <imsss:deliveryControls>/objectiveSetByContent attribute.

Ð PostConditionRules

Returns the ReadOnlyCollection<SequencingRuleNodeReader> containing the <imsss:postConditionRules> nodes, of type SequencingRuleNodeReader.

Ð PreConditionRules

Returns the ReadOnlyCollection<SequencingRuleNodeReader> containing the <imsss:preConditionRules> nodes, of type SequencingRuleNodeReader.

Ð PreventActivation

Returns the value of the <adlseq:constrainedChoiceConsiderations>/preventActivation attribute.

Ð RandomizationSelectCount

Returns the value of the <imsss:randomizationControls>/selectCount attribute.

Ð RandomizationTiming

Returns the value of the <imsss:randomizationControls>/randomizationTiming attribute.

Ð ReorderChildren

Returns the value of the <imsss:randomizationControls>/reorderChildren attribute.

Ð RequiredForCompleted

Returns the value of the <adlseq:rollupConsiderations>/requiredForCompleted attribute.

Ð RequiredForIncomplete

Returns the value of the <adlseq:rollupConsiderations>/requiredForIncomplete attribute.

Ð RequiredForNotSatisfied

Returns the value of the <adlseq:rollupConsiderations>/requiredForNotSatisfied attribute.

Ð RequiredForSatisfied

Returns the value of the <adlseq:rollupConsiderations>/requiredForSatisfied attribute.

Ð RollupObjectiveSatisfied

Returns the value of the <imsss:rollupRules>/rollupObjectiveSatisfied attribute.

Ð RollupProgressCompletion

Returns the value of the <imsss:rollupRules>/rollupProgressCompletion attribute.

Ð RollupRules

Returns the ReadOnlyCollection<SequencingRollupRuleNodeReader> containing the <imsss:rollupRules>/<imsss:rollupRule> nodes, of type SequencingRollupRuleNodeReader.

Ð SelectionTiming

Returns the value of the <imsss:randomizationControls>/selectionTiming attribute.

Ð Tracked

Returns the value of the <imsss:deliveryControls>/tracked attribute.

Ð UseCurrentAttemptObjectiveInfo

Returns the value of the <imsss:controlMode>/useCurrentAttemptObjectiveInfo attribute.

Ð UseCurrentAttemptProgressInfo

Returns the value of the <imsss:controlMode>/useCurrentAttemptProgressInfo attribute.

Methods
Name Description
Ð CreateNavigator

Return the XPathNavigator for this resource.

Remarks

The <imsss:sequencing> nodes are from a SCORM manifest or the SequencingDataCache field in the ActivityAttemptItem table.

AuxiliaryResources are not available here because they are not recommended for use in 2004.

<imsss:sequencing> nodes occur 0 or more times in <item> and <imsss:sequencingCollection> nodes. In <imsss:sequencingCollection>'s, the <imsss:sequencing> nodes must have an ID attribute, which is referenced by the IDRef attribute of a <imsss:sequencing> in an <item> node.

When used to import a package, a ManifestReader is provided in the constructor, allowing the <sequencing>/IDRef to be resolved. No IDRef values are imported into the database. Only the node corresponding to the reference is imported, in-place.

By implication, this object can only be created for SCORM 2004 content, since the sequencing nodes do not exist in previous SCORM versions.

Holds lists of <imsss:rollupRule> <imsss:preConditionRule>, <imsss:exitConditionRule>, and <imsss:postConditionRule> nodes, and a dictionary of <imsss:objective> nodes (including <primaryObjective> nodes, all in the same dictionary.